JournalingScreen

fun JournalingScreen(modifier: Modifier = Modifier, viewModel: JournalViewModel = hiltViewModel(), openDrawer: () -> Unit, onNavigateToEntryCreation: () -> Unit, onNavigateToEntryView: (String) -> Unit)

Displays the home page for the Journaling section, consisting of a top app bar, a floating action button to add a new journal entry, and a list of existing journal entries.

Parameters

modifier

Modifier to be applied to the composable.

viewModel

The ViewModel providing the UI state.

openDrawer

A lambda to open the navigation drawer.

onNavigateToEntryCreation

A lambda to navigate to the entry creation screen.

onNavigateToEntryView

A lambda to navigate to a detailed view of a journal entry.